<!--<?php
print<<<GH
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">
<!--
.STYLE1 {color: 'blue'}
.line{
display:inline;}
-->
</style>
<script language="JavaScript" type="text/javascript">
<!--
 var name,value;
 name='';
 value='';
 function update(name,value)
 {
 	//alert('test!');
	var name,value;
	if(confirm('此操作不可恢复，请确认你要执行？'))
	{
		document.form1.action="disposeturn.inc.php?action=list&name="+name+"&value="+value+" ";
		document.form1.submit();
	}
	//alert(name+value);
 }
 
 function select(name,value)
 {
	var name,value;
	//alert(name+value);
	if(name=='ishot')
	hots.innerHTML="<input name=\"hot\" type=\"button\" class=\"submit\" onclick=\"update('"+name+"',"+value+");\" value=\"更新操作\" />"; 
	else if(name=='isdht')
	dhts.innerHTML="<input name=\"dht\" type=\"button\" class=\"submit\" onclick=\"update('"+name+"',"+value+");\" value=\"更新操作\" />";
	else if(name=='isweb')
	webs.innerHTML="<input name=\"web\" type=\"button\" class=\"submit\" onclick=\"update('"+name+"',"+value+");\" value=\"更新操作\" />";
	else if(name=='istra')
	tras.innerHTML="<input name=\"tra\" type=\"button\" class=\"submit\" onclick=\"update('"+name+"',"+value+");\" value=\"更新操作\" />";
 }
// -->
</script>

</head>
<link href="templates/msystem/ljy.css" rel="stylesheet" type="text/css" />
<link href="ljy.css" rel="stylesheet" type="text/css" />
<body>

<div id="toppath">工作状态管理  </div>
<form name="form1" method="post" action="">
   
        <table width="100%" border="0" cellpadding="3" cellspacing="0" bgcolor="#FFFFFF" >
        <thead>
                <tr>
                  <th width="42%" height="27" align="center" valign="middle" bgcolor="#EFEFEF"><div  class="STYLE1">功能开关设置</div></th>
          <th align="center" valign="middle" bgcolor="#EFEFEF"><div  class="STYLE1">状态</div></th
>
 <th  align="center" valign="middle" bgcolor="#EFEFEF"><div  class="STYLE1">操作</div></th
>               </tr>
        </thead>
        <tbody>
<!--
GH;
/*
$ll=0;
foreach($acslist as $list)
{
$sta="";
$sta1="";
if($str[$ll]=='1')
{
$sta=" checked=\"checked\" ";
$sta1="";
}
else
{
$sta1=" Checked=\"checked\" ";
$sta="";
}*/
print<<<GH
-->
                <tr>
                        <td align="center">推送页热门列表</td>
                  <td width="31%" align="center">
                    <select name="ishot" onchange="select(this.name,this.options[this.selectedIndex].value);">
					<option value="1" {$hstr}>显示</option>
					<option value="-1" {$hstr1}>禁止</option>
					</select>
                    <!--
					<input name="ishot" type="radio" value="" {$sta}  onclick="javascript:select('1');" />
		<span style="color:'blue'">
                    	</span>                   
                    <input type="radio" name="ishot" value="0"  {$sta1}  onclick="javascript:select('0');" />
                    <span style="color:'red'">		</span>   -->               </td>

                        <td width="27%" align="center">
						<div id="hots"  class="line" >
						<input name="hot" type="button" class="submit" id="hot" onclick="update()" value="更新操作" />
						</div>&nbsp;
						<input name="hot1" type="reset" class="submit" id="hot1"  value="重置" />
						
						</td>
                </tr>
				<tr>
                        <td align="center">Tracker</td>
                        <td width="27%" align="center">
                    <select name="istra" onchange="select(this.name,this.options[this.selectedIndex].value);">
					<option value="1" {$tratr}>修改	</option>
					<option value="-1" {$tratr1}>禁止	</option>
					</select>
                    <!--<input name="istra" type="radio" value="1" {$tratr} />
		<span style="color:'blue'">
                    开启		</span>                   
                    <input type="radio" name="istra" value="0"  {$tratr1} />
                    <span style="color:'red'">关闭		</span>  -->                 </td>

                        <td width="27%" align="center"><div id="tras" class="line"><input name="tra" type="button"  onclick="update()" class="submit" id="tra" value="更新操作" /></div>&nbsp;&nbsp;
                        <input name="tra1" type="reset" class="submit" id="tra1"  value="重置" /></td>
                </tr>
				<tr>
                        <td align="center">Dht</td>
                        <td width="27%" align="center">
                    <select name="isdht" onchange="select(this.name,this.options[this.selectedIndex].value);">
					<option value="1" {$dstr}>禁止	</option>
					<option value="-1" {$dstr1}>允许	</option>
					</select>
                    <!--<input name="isdht" type="radio" value="1" {$sta} />
		<span style="color:'blue'">
                    开启		</span>                   
                    <input type="radio" name="isdht" value="0"  {$sta1} />
                    <span style="color:'red'">关闭		</span>  -->                 </td>

                        <td width="27%" align="center"><div id="dhts" class="line"><input name="dht" type="button"  onclick="update()" class="submit" id="dht" value="更新操作" /></div>&nbsp;&nbsp;
                        <input name="dht1" type="reset" class="submit" id="dht1"  value="重置" /></td>
                </tr>
				
				<tr>
                        <td align="center">推送页</td>
                  <td width="31%" align="center">
                    <select name="isweb" onchange="select(this.name,this.options[this.selectedIndex].value);">
					<option value="1" {$wstr}>显示	</option>
					<option value="-1" {$wstr1}>禁止	</option>
					</select>
                   <!-- <input name="isweb" type="radio" value="1" {$sta} />
                    <span style="color:'blue'">开启</span>
                    <input type="radio" name="isweb" value="0"  {$sta1} />
                    <span style="color:'red'">关闭</span> --></td>

                        <td width="27%" align="center"><div id="webs" class="line"><input name="web" type="button"  onclick="update()" class="submit" id="web" value="更新操作" /></div>&nbsp;&nbsp;
                        <input name="web1" type="reset" class="submit" id="web1"  value="重置" /></td>
                </tr>
<!--
GH;
/*
$ll++;
}*/print<<<GH
-->
         </tbody>
  </table>
</form> 
</div>
</body>
</html>
<!--
GH;
?>-->
